﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExpressionEngine
{
    /// <summary>
    /// 表达式中的参数
    /// </summary>
    public class Variable
    {
        /// <summary>
        /// 是否为内置变量
        /// </summary>
        private bool bBuiltIn = false;
        public bool BBuiltIn
        {
            get { return bBuiltIn; }
            set { bBuiltIn = value; }
        }

        /// <summary>
        /// 参数数据制类型
        /// </summary>
        private DataType _dataType;
        public DataType ValueType
        {
            get { return _dataType; }
            set { _dataType = value; }
        }

        /// <summary>
        /// 参数的值
        /// </summary>
        private object _value;
        public object Value
        {
            get { return _value; }
            set { _value = value; }
        }

        /// <summary>
        /// 参数名称
        /// </summary>
        private string _name;
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
    }
}
